import axios from 'axios'

export default {
    /**
     * 获取列表数据
     * @param params
     * @returns {AxiosPromise<any>}
     */
    fetch (params) {
        return axios.get('fw/service/settlement', {
            params: params
        });
    },

    /**
     * 获取结算详情
     */
    detail(params){
        return axios.get(`fw/service/settlement/${params.id}`,{
            params:params,
        })
    }
}
